home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
3-Presentations
/
Markets
/
Education
/
HyperCard In Education
/
Math Quizzer
/
card_4459.txt
< prev
next >
Wrap
Text File
|
1990-04-02
|
8KB
|
404 lines
-- card: 4459 from stack: in
-- bmap block id: 4957
-- flags: 0000
-- background id: 2658
-- name:
----- HyperTalk script -----
on openCard
hide card field 7
hide card field 9
hide card field 10
put 0 into card field 8
put 0 into card field 9
put 0 into card field 10
put 0 into card field 2
put 0 into card field 3
put " " into card field 4
repeat with x=11 to 13
hide card field x
end repeat
hide card field 6
hide card field 8
put 12 into card field 16
end openCard
-- part 1 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=13 top=27 right=46 bottom=144
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 2 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=23 top=52 right=106 bottom=126
-- title width / last selected line: 0
-- icon id / first selected line: 31685 / 31685
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Push to Get Numbers
----- HyperTalk script -----
on mouseUp
hide card field 11
hide card field 12
hide card field 13
put " " into card field 4
hide card field 8
hide card field 7
hide card field 6
hide card field 9
hide card field 10
put the random of card field 16 into card field 2
put the random of card field 16 into card field 3
show card field 5
show card button id 7
end mouseUp
-- part 3 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=171 top=173 right=187 bottom=214
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 4 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=255 top=173 right=188 bottom=301
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 5 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=366 top=174 right=190 bottom=438
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 6 (field)
-- low flags: 80
-- high flags: 0004
-- rect: left=358 top=116 right=168 bottom=415
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 7 (button)
-- low flags: 80
-- high flags: 8003
-- rect: left=338 top=197 right=224 bottom=468
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Push When Ready
----- HyperTalk script -----
on mouseUp
put card field 10+1 into card field 10
hide card button id 7
hide card field 5
put card field two into numb1
put card field three into numb2
put card field four into numb3
if numb1*numb2=numb3
then show card field 6
else show card field 7
if numb1*numb2=numb3
then put card field 9+1 into card field 9
put numb1*numb2 into card field 8
show card field 8
show card field 9
show card field 10
show card field 11
show card field 12
show card field 13
end mouseUp
-- part 8 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=343 top=274 right=323 bottom=456
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 9 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=342 top=225 right=258 bottom=442
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 10 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=342 top=258 right=274 bottom=396
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 11 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=173 top=325 right=342 bottom=198
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 12 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=245 top=325 right=342 bottom=274
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 13 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=68 top=325 right=342 bottom=173
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 14 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=198 top=325 right=341 bottom=245
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 15 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=273 top=325 right=341 bottom=476
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 16 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=328 top=23 right=39 bottom=479
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 17 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=363 top=41 right=57 bottom=385
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 18 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=385 top=41 right=57 bottom=431
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 19 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=1 top=267 right=313 bottom=100
-- title width / last selected line: 0
-- icon id / first selected line: 2162 / 2162
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Return
----- HyperTalk script -----
on mouseUp
go to card 1
end mouseUp
-- part contents for card part 1
----- text -----
Multiplication Card
-- part contents for card part 6
----- text -----
Put Answer Below
-- part contents for card part 8
----- text -----
was the correct answer. Good job!
-- part contents for card part 9
----- text -----
Wrong! The answer was
-- part contents for card part 13
----- text -----
You have gotten
-- part contents for card part 14
----- text -----
out of
-- part contents for card part 15
----- text -----
multiplication problems right.
-- part contents for card part 5
----- text -----
-- part contents for card part 3
----- text -----
0
-- part contents for card part 4
----- text -----
0
-- part contents for card part 12
----- text -----
0
-- part contents for card part 10
----- text -----
0
-- part contents for card part 11
----- text -----
0
-- part contents for card part 16
----- text -----
Multiply numbers from
-- part contents for card part 17
----- text -----
1-
-- part contents for card part 18
----- text -----
12